package arquitetura.model;

import java.util.Collection;

import to.Classificacao;
import exceptions.*;

public interface ModelClassificacao {	
	public void incluir(Classificacao classificacao) throws ConexaoException, ModelException;
	public void alterar(Classificacao classificacao)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public Classificacao consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String []> listarParaGrid() throws ConexaoException, ModelException;
	public boolean descricaoJahCadastrada(Classificacao classificacao) throws ConexaoException, ModelException;
	public boolean podeExcluirClassificacao(int codigo) throws ConexaoException, ModelException;	
}
